﻿using DataModel.PublicModel.Typedef;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModel.Send.DataDef
{
    /// <summary>
    /// 发送报文请求数据文档DATA部分定义
    /// </summary>
    public class DataDocument : DataBase
    {
        public DataDocument()
        {
            SetRequest(Operator.documentStruct);
        }
        List<string> meters;
        /// <summary>
        /// 待请求的仪表
        /// </summary>
        [Newtonsoft.Json.JsonProperty(PropertyName = "meters")]
        public List<string> Meters
        {
            get
            {
                if (meters == null)
                    meters = new List<string>();
                return meters;
            }

            set
            {
                meters = value;
            }
        }
    }
}
